/****************************************************************
 * Filename: hello-world-drv.c
 * -------------------------------
 * Copyright(C),
 * Author: zhenquan.qiu
 * Version: V1.0.0
 * Last modified: 13/01 2017 14:20
 * Description:
 *
 * Change Log:
 * NO.	Author		    Date		Modified
 * 00	zhenquan.qiu	13/01 2017
 ****************************************************************/
#include <linux/init.h>
#include <linux/module.h>

static int hello_init(void)
{
    printk(KERN_ALERT "hello, world! \n");
    return 0;
}
module_init(hello_init);

static void hello_exit(void)
{
    printk(KERN_ALERT "goodbye, cruel world! \n");
}
module_exit(hello_exit);

MODULE_DESCRIPTION("hello world driver");
MODULE_AUTHOR("zhenquan.qiu <gnsyxiang@163.com>");
MODULE_LICENSE("Dual BSD/GPL");

